The Dreamweaver JavaScript API > File manipulation functions > dom.applyFontMarkup()

 

dom.applyFontMarkup()

Availability

Dreamweaver 3.0

Description

Applies the FONT tag and the specified attribute and value to the current selection.

Arguments

attribute, value

attribute must be "face", "size", or "color".
value is the value that should be assigned to the attribute; for example, "Arial, Helvetica, sans-serif", "5", or "#FF0000".

Returns

Nothing.

Enabler

None.